local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, script.Parent.base,script.Parent.Name);

function M.new(self, ...)
	return M(self, ...);
end;

function M.ctor(self,...)

    M.super.ctor(self,...);
end;

function M.InitComponent(self)
	self:AddPrivateComponentByFolder(script.Parent.cli)
end

function M.Init(self)
	self.player=_G.client.local_player
    self.PlayerAddEvent:Connect(function(player)
        if self.player.main_inst==player then
            self.player:GetComponent(CommonOHOH.load.Common_WeaponDropCtrl()):ShowLuckyInfo(self:GetId())
        end
    end)


    self.PlayerRemoveEvent:Connect(function(player)
        if self.player.main_inst==player then
            self.player:GetComponent(CommonOHOH.load.Common_WeaponDropCtrl()):CloseLuckyInfo()
        end
   end)
end


function M.dtor(self)
	M.super.dtor(self);
end;


 -- 创建一场战斗
 function M.CreateBattle(self)


end

return M;
